<template>
  <!-- 清空所有内容 -->
  <button @click="removeAll">全部删除</button>
</template>

<script>
export default {
  name: "TodoClear",
  methods: {
    removeAll() {
      this.$emit("removeAll");
    },
  },
};
</script>